#include "dominion.h"
#include "rngs.h"
#include "dominion_helpers.h"
#include <stdio.h>
#include <math.h>
#include <stdlib.h>

int main(int argc, char **argv)
{	
	int i;
	//the values of the cards will be manually placed into an array
	//we will check the getCost return value against this array
	int cost [27] = {0,2,5,8,0,3,6,6,5,4,4,5,4,4,3,4,3,5,3,5,3,4,2,5,4,4,4};
	
	for(i = 0; i<26; i++)
		{ 
			if( getCost(i) == cost[i])
				{
					printf("Passed.\n");
				}
			else
					printf("Failed.\n");
		}
		
	//test invalid input
	//every value printed should be -1.
	printf("%d\n", getCost(-10));
	printf("%d\n", getCost(-100));
	printf("%d\n", getCost(29));
	printf("%d\n", getCost(290));
	
	
	
	return 0;
}